package com.ruoyi.examination.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 试卷试题关系对象 paper_question_relation
 * 
 * @author hcc
 * @date 2025-10-21
 */
public class PaperQuestionRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 试卷试题id */
    private String paperQuestionId;

    /** 试卷id */
    @Excel(name = "试卷id")
    private String examPaperId;

    /** 试题id */
    @Excel(name = "试题id")
    private String questionId;

    /** 试题排序 */
    private Long questionSort;

    /** 试题类型 */
    private String questionType;

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public Long getQuestionSort() {
        return questionSort;
    }

    public void setQuestionSort(Long questionSort) {
        this.questionSort = questionSort;
    }

    public void setPaperQuestionId(String paperQuestionId)
    {
        this.paperQuestionId = paperQuestionId;
    }

    public String getPaperQuestionId() 
    {
        return paperQuestionId;
    }

    public void setExamPaperId(String examPaperId) 
    {
        this.examPaperId = examPaperId;
    }

    public String getExamPaperId() 
    {
        return examPaperId;
    }

    public void setQuestionId(String questionId) 
    {
        this.questionId = questionId;
    }

    public String getQuestionId() 
    {
        return questionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paperQuestionId", getPaperQuestionId())
            .append("examPaperId", getExamPaperId())
            .append("questionId", getQuestionId())
            .append("questionSort", getQuestionSort())
            .append("questionType", getQuestionType())
            .toString();
    }
}
